home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / basic / qbfaqr01.zip / MAKEQLB.DOC < prev    next >
Internet Message Format  |  1992-08-10  |  1KB

  1. Date: 01-07-92 (17:21)
  2. From: CHRISTY GEMMELL
  3. Subj: MAKING A LIBRARY
  4. --------------------------------------------------------------------------
  5. LJ>I  want to put two (or more) libraries in one library so that I can use
  6.   >procedures from each one. I do not have the original .obj files for the
  7.   >libraries. I have both the .qlb and .lib forms. Or is ther a better way
  8.   >than trying to combine libraries? Any suggestions will be greatly
  9.   >appreciated.
  10.  
  11. Combining libraries is easy, you don't need the original .obj
  12. files to do it as long as you've the .LIB files. Here's how:
  13.  
  14. 1) Stand alone libraries
  15.  
  16. LIB new.lib, +old1.lib +old2.lib...., newlib.cat;
  17.  
  18. NEWLIB.CAT is an optional textfile listing all the modules and
  19. routines in NEW.LIB, the combined library you are creating.
  20.  
  21. 2) Quick Libraries
  22.  
  23. LINK /QU old1.lib old2.lib..., new.qlb,, bqlb45.lib;
  24.  
  25. Notice that the component libraries must be .LIB files although
  26. the combined library is a .QLB file. You can't link together two
  27. or more Quick Libraries with LINK.EXE.
  28.  
  29. BQLB45.LIB is a support library supplied with QuickBASIC. If you
  30. have the PDS then you should use QBXQLB.LIB instead.
  31.  
  32. Hope this does the trick.
  33.